package service;

import mapper.ScheduleMapper;
import model.dto.ScheduleDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: service.ScheduleServiceImpl
 * @author: Xia
 * @create: 2023-03-16 15:43
 */
@Service
public class ScheduleServiceImpl implements ScheduleService{
    @Autowired
    private ScheduleMapper mapper;
    @Override
    public List<ScheduleDto> getSchedule(Long departmentId, Integer sign) {
        return mapper.getSchedule(departmentId, sign);
    }
}
